solution by definite integral

定积分解法